package com.tcj.blog.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tcj
 * @since 2021-01-15
 */
public class LoginConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 是否开启注册
     */
    private Integer register;

    /**
     * 是否开启短信登录
     */
    private Integer smsLogin;

    /**
     * 是否开启忘记密码
     */
    private Integer forgetPass;

    /**
     * 是否开启第三方登录
     */
    private Integer thirdLogin;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRegister() {
        return register;
    }

    public void setRegister(Integer register) {
        this.register = register;
    }

    public Integer getSmsLogin() {
        return smsLogin;
    }

    public void setSmsLogin(Integer smsLogin) {
        this.smsLogin = smsLogin;
    }

    public Integer getForgetPass() {
        return forgetPass;
    }

    public void setForgetPass(Integer forgetPass) {
        this.forgetPass = forgetPass;
    }

    public Integer getThirdLogin() {
        return thirdLogin;
    }

    public void setThirdLogin(Integer thirdLogin) {
        this.thirdLogin = thirdLogin;
    }

    @Override
    public String toString() {
        return "LoginConfig{" +
        "id=" + id +
        ", register=" + register +
        ", smsLogin=" + smsLogin +
        ", forgetPass=" + forgetPass +
        ", thirdLogin=" + thirdLogin +
        "}";
    }
}
